/**
 * 
 */
package t4j.concurrency;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author sz
 *
 * create time：2013-2-25
 */
public class SingleThreadExecutor {

	public static void main(String[] args) {
		ExecutorService exec = Executors.newSingleThreadExecutor();
		
		for(int i=0; i < 5 ; i++)
			exec.execute(new LiftOff());
		
		exec.shutdown();
	}
}
